Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

run-time-assertions

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

run-time-assertions

Type safe assertions that work just as well in production run-times as they do in testing.

  • 1.5.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
33K
increased by63.18%
Maintainers
0
Weekly downloads
 
Created
Source

run-time-assertions

Type safe assertions that work just as well in production run-times (both frontend and backend) as they do in testing with 100% test coverage.

Docs: https://electrovir.github.io/run-time-assertions

For example, here are some functions that this package exports:

  • assertThrows
  • isInstanceOf
  • isDefined
  • diffObjects
  • assertRunTimeType
  • and many more

install

npm i run-time-assertions

Keywords

FAQs

Package last updated on 17 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc